home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Interface
/
it.dig
/
scripts
/
DefineSprite_296
/
frame_2
/
PlaceObject2_40_Button_7
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2011-10-17
|
738b
|
26 lines
onClipEvent(load){
function __f_click(eventObj)
{
var _loc3_ = _root.descri.caminho.text;
_loc3_ = _loc3_.substring(_loc3_.length - 3,_loc3_.length);
if(_loc3_ == "exe")
{
trace(_root.descri.caminho.text);
getURL("FSCommand:Run.app","%ORG%" + _root.descri.caminho.text);
}
else if(_loc3_ == "swf")
{
getURL("FSCommand:Run.App","App %ORG%" + _root.descri.caminho.text);
}
else if(_root.descri.comando.text == "LINK")
{
getURL(this.caminho.text,"");
}
else
{
getURL("FSCommand:Shellopen","%ORG%" + _root.descri.caminho.text);
}
}
this.addEventListener("click",__f_click);
}